Bottom     Previous     Contents

Customising menus

EasiWriter's menus are designed to be easily edited so that they can have user defined short-cuts, be translated into other languages and be removed altogether.

The menus are held inside EasiWriter's application directory in an Edit file called 'MenuData'.

Structure of MenuData

MenuData consists of:

Menu header = :<menu name>,<menu number>

Menu items = <item name>,<cmd number>[,options]

Options =

| next line is dashed

> dialogue submenu

} <menu num> menu submenu

$ <menu num> automatic submenu

¤[C][S]F-n [Ctrl][Shift]Function key n

# input number

? input text

Keyboard
short-cuts

Keyboard short-cuts are defined by putting the symbol ¤ at the end of the menu item followed by C, S or F for Control, Shift, or Function followed by a dash - .

In the case of Control this is a letter or symbol in the range @ - ] excluding C, H, J, M, V, X.

Function keys can be combined with Control, Shift or Control & Shift.

For example:

Section,191,¤CSF-2 means that the short-cut for the command Section is Ctrl-Shift-F2.

Example:
Add page filler

This example shows you how to alter the menus so that pressing F1 will invoke the Add page filler command. Make a copy of !EasiWriter before you make any changes.

  1. Hold down Shift and Double-click on !EasiWriter.
  2. Double-click on 'MenuData' to open it into !Edit.
  3. Press F4 and search for 'Page filler'
  4. Edit the text as follows (Note '¤' can be typed by holding down Alt and typing 164 on the Numeric keypad.

  5. Save 'Menu data' and restart EasiWriter.

To remove a menu item

  1. Locate the item you want to remove.
  2. Type a % sign at the beginning of the line to 'comment' it out.

Next     Top